// Import Vue
import Vue from 'vue';

// Import F7
import Framework7 from 'framework7/framework7.esm.bundle.js';

// Import F7 Vue Plugin
import Framework7Vue from 'framework7-vue/framework7-vue.esm.bundle.js';

// Import F7 Styles
//import Framework7Styles from 'framework7/css/framework7.css';
import Framework7Styles from './components/framework7/framework7.less';

// Import Icons and App Custom Styles
import IconsStyles from './css/icons.css';
import AppStyles from './css/app.css';

// Import App Component
import App from './app.vue';


//Vue.config.devtools = false;


// Init F7 Vue Plugin
Framework7.use(Framework7Vue);
Framework7.device.wechat = (navigator.userAgent.toLowerCase().indexOf("micromessenger") != -1);
Framework7.device.weibo = (navigator.userAgent.toLowerCase().indexOf("weibo") != -1);


// Init App
new Vue({
  el: '#app',
  template: '<app/>',

  // Register App Component
  components: {
    app: App
  },


});
